package com.dog.basics.bean.model.common;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 常见问题
 * </p>
 *
 * @author fengjukang
 * @since 2019-10-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("dog_common_problem")
public class SysCommonProblem extends Model<SysCommonProblem> implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * Id标识
     */
    @TableId(type = IdType.ID_WORKER)
    private Long id;

    /**
     * 问题分类标识
     */
    @TableField("problem_class_id")
    private Long problemClassId;

    /**
     * 常见问题标题
     */
    private String title;

    /**
     * 常见问题简述
     */
    private String sketch;

    /**
     * 常见问题内容
     */
    @TableField("content_info")
    private String contentInfo;

	@TableField("problem_type")
	@ApiModelProperty(value = "问题类型 0 医生1 妈妈", dataType = "int",required = false, example = "")
	private Integer problemType;
    /**
     * 是否删除：0-未删除  1-删除
     */
    @TableLogic
    @TableField("del_flag")
    private Integer delFlag;

    /**
     * 上传时间
     */
    @TableField("create_time")
    private Long createTime;

    /**
     * 上传者
     */
    @TableField("create_by")
    private Long createBy;

    /**
     * 更新时间
     */
    @TableField("update_time")
    private Long updateTime;

    /**
     * 更新者
     */
    @TableField("update_by")
    private Long updateBy;


}
